import Layout from '@/layout'

export default [
  {
    path: "/order",
    component: Layout,
    name: "order",
    meta: { title: "订单管理", icon: "el-icon-s-help" },
    children: [
      {
        path: "/order/index",
        name: "order_index",
        component: () => import("@/views/order/list/index"),
        meta: { title: "我的订单", icon: "table" },
      },
      {
        path: "/order/refund",
        name: "order_refund",
        component: () => import("@/views/order/list/refund"),
        meta: { title: "退单管理", icon: "table" },
      },
      {
        path: "/order/receivable",
        name: "order_receivable",
        component: () => import("@/views/order/receivable/index"),
        meta: { title: "应收单", icon: "table" },
      },
      {
        path: "/order/receipt",
        name: "order_receipt",
        component: () => import("@/views/order/receipt/index"),
        meta: { title: "收款单", icon: "table" },
      },
    ],
  },
];